package com.yw.uglygeeker.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.yw.uglygeeker.dao.SysDictDao;
import com.yw.uglygeeker.pojo.SysDict;
import com.yw.uglygeeker.service.SysDictService;

@Service
@Transactional(readOnly=true)
public class SysDictServiceImpl implements SysDictService{

	@Autowired
	private SysDictDao sysDictDao;
	
	@Override
	public List<SysDict> getListByGroup(String group) {
		return sysDictDao.getListByGroup(group);
	}

	@Override
	public List<SysDict> getListByGroup2(String group) {
		return sysDictDao.getListByGroup2(group);
	}
	
	
	@Override
	public List<SysDict> getListByGroup3(String group) {
		return sysDictDao.getListByGroup3(group);
	}
	
	public SysDict getDict(Long id){
		return sysDictDao.getDict(id);
	}
}
